package io.jft.doll.model.viewModel

import com.g.base.viewModel.BaseViewModel
import io.jft.doll.room.repository.RoomRepository

/**
 * Created by G on 2017/12/21 0021.
 */
class RoomViewModel : BaseViewModel() {
    private val roomRepository by lazy { RoomRepository() }
    var roomId: String = ""
    fun getRoomDetailImage() = roomRepository.getWawaDetail(roomId)
    fun getRoomRecent() = roomRepository.getRoomGameHistory(roomId)
    fun getRoomRank() = roomRepository.getRoomWawaMaster(roomId)
}

